package com.sfeir.shared;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Score {

	@Id
	private Long id;

	private int score;

	private String userEmail;
	
	private String userNickName;

	private int levelOrder;

	/**
	 * 
	 * @param id
	 * @param score
	 * @param userEmail
	 * @param levelOrder
	 */
	public Score(int score, String userEmail, String userNickName, int levelOrder) {
		super();
		this.score = score;
		this.userEmail = userEmail;
		this.levelOrder = levelOrder;
		this.userNickName = userNickName;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public int getLevelOrder() {
		return levelOrder;
	}

	public void setLevelOrder(int levelOrder) {
		this.levelOrder = levelOrder;
	}
	
	public String getUserNickName() {
		return userNickName;
	}

	public void setUserNickName(String userNickName) {
		this.userNickName = userNickName;
	}

}
